package com.base.common.edu.mapper;

import com.base.common.edu.entity.StuAppraise;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Maple.Chen
 * @Description 数据交互层 - 教学评价记录管理
 * @Date 12:03 2021/2/25
 **/
@Mapper
@Repository
public interface StuAppraiseMapper {

    // 新增教学评价(appraise; evaluate; assess; estimate; judge of)
    int addStuAppraise(@Param("stu_app") StuAppraise stuAppraise);
    // 删除教学评价
    int delStuAppraise(String appraise_id);
    // 查询教学评价
    List<StuAppraise> queryStuAppraise(@Param("stu_app") StuAppraise stuAppraise);
    // 修改教学评价
    int updateStuAppraise(@Param("stu_app") StuAppraise stuAppraise);

}
